PartDesign Hole/tr

PartDesign Hole

Menu location
Part Design → Create a substractive feature → Hole
Workbenches
PartDesign
Default shortcut
None
Introduced in version
0.17
See also
PartDesign Pocket

Tanım

The Hole feature creates one or more holes from a selected sketch's circles and arcs. If arcs are present they must be part of closed contours. All non arc/circle entities are ignored but they still must form closed contours. Many parameters can be set such as threading and size, fit, hole type (countersink, counterbore, straight) and more.

The centers of the circles and arcs are used to position the holes, but please note that their radii are not taken into account. The generated holes will be identical even if the radii vary.

Countersunk (to the left) and counterbored (to the right) holes longitudinal section.

Usage

  1. Press the Hole button.
  2. If an existing unused sketch is found, it will be used automatically. If more than one sketch is found, a Select feature panel appears to make a selection. Alternatively, a sketch can be selected before launching the Hole command.
  3. Define the Hole parameters, that are described in section Options.
  4. Press OK.

Options

Depending on which selection is made, some fields will activate or stay disabled.

Threading and size

Hole cut

Drill point

Misc

Properties

Much of the Data properties are the same as those shown in Options.

Limitations

Cut Type Definitions

Cut types (screw-types) are defined in json files. There is a set of files distributed with FreeCAD, but users can create their own definitions. Files are searched in <UserAppDataDir>/PartDesign/Hole. The UserAppDataDir can be found by typing App.getUserAppDataDir() in the Python console.

The file should contain:

Example:

{
    "name": "DIN 7984",
    "cut_type": "counterbore",
    "thread_type": "metric",
    "data": [
        { "thread": "M2",   "diameter":  4.3, "depth":  1.6 },
        { "thread": "M2.5", "diameter":  5.0, "depth":  2.0 },
        
    ]
}